package org.praktika.api.dto;

import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TurOrderDto  {
    Long id;

    @NotNull
    LocalDateTime date;

    @NotNull
    EmployeeDto employee;

    @NotNull
    ClientDto client;

    @NotNull
    Double price;
}